package com.itcast.java.order.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 退款信息实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:33:23
 */
@Data
@TableName("oms_refund_info")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "OmsRefundInfoEntity对象", description = "退款信息")
public class OmsRefundInfoEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "id")
                @TableId(value = "id", type = IdType.AUTO)
                private Long id;

        @ApiModelProperty(value = "退款的订单")
    @TableField("order_return_id")
        private Long orderReturnId;

        @ApiModelProperty(value = "退款金额")
    @TableField("refund")
        private BigDecimal refund;

        @ApiModelProperty(value = "退款交易流水号")
    @TableField("refund_sn")
        private String refundSn;

        @ApiModelProperty(value = "退款状态")
    @TableField("refund_status")
        private Boolean refundStatus;

        @ApiModelProperty(value = "退款渠道[1-支付宝，2-微信，3-银联，4-汇款]")
    @TableField("refund_channel")
        private Integer refundChannel;

    @TableField("refund_content")
        private String refundContent;

        }